
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/jquery-ui.css">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/cash/popup.css">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/admin.css">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/stepitm.css">
<script type="text/javascript" src="__HOME_JS__/js/jquery.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/jquery-ui/jquery-ui.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/laydate/laydate.min.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/admin_content.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/dialog.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/libs.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/common.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/index.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/home.js"></script>
</head>
<body id="bodyid" class="skin_blue">


<include file="Public/user_nav" />
 <div class="rightpanel rw">
    <div class="contentcontainer">
   <if condition="$user.true_name neq ''"> 
      <div class="maincol innerline">
        <div class="row pagetitle">
          <span class="bluepagetitle">个人资料</span> 
	
		<span>提款时只能用真实姓名，<a style="color:#337ab7">如需修改请联系客服</a></span>
		
        </div>
        <div class="row">
          <div class="col1">姓名 :</div>
          <div class="col2a">
            <div class="col_text">{$user.true_name|msubstr=0,1,'utf-8',false}**</div>
            
          </div>
        </div>
        <div class="row">
          <div class="col1">性别 :</div>
          <div class="col2a">
          <if condition="$user.sex eq 0">
              <div class="col_text">保密</div>
          <elseif condition="$user.sex eq 1"/>
              <div class="col_text">男</div>
          <else/>
              <div class="col_text">女</div>
          </if>  
            
          </div>
        </div>
        <div class="row">
          <div class="col1">出生年月 :</div>
          <div class="col2a">
            <div class="textcontainer">
              <div class="col_text">{$user.birthday|date="Y-m-d",###}</div>
                          </div>
          </div>
        </div>
        <div class="row">
          <div class="col1">&nbsp;</div>
          <div class="col2a">
          </div>
        </div>
		
      </div>
      
      <else/>
      	<div class="maincol innerline">
				<div class="row pagetitle">
					<span class="bluepagetitle">个人资料</span>  绑定真实姓名可提高帐号的安全性 
				</div>
				<div class="row">
					<div class="col1">姓名 :</div>
					<div class="col2a">
 						<input type="text" id="userName" class="textbox2 ml5"> 
					</div>
				</div>
				<div class="row">
					<div class="col1">性别 :</div>
					<div class="col2a">
 						<select name="sex" id="sex" class="ml5">
							<option selected="selected" value="o">保密</option>
							<option value="1">男</option>
							<option value="2">女</option>
						</select> 
					</div>
				</div>
				<div class="row">
					<div class="col1">出生年月 :</div>
					<div class="col2a">
						<div class="textcontainer">
 								<input type="text" id="birthDay" class="textbox2 laydate-icon ml5" value="" onclick="laydate()">
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col1">&nbsp;</div>
					<div class="col2a">
						<button class="btnsubmit ml5" type="submit" onclick="bandName()">保存</button>
					</div>
				</div>
				
			</div>
      </if>
      

      
      <div class="maincol">
        <div class="row pagetitle">
          <span class="bluepagetitle">安全设置</span> 绑定多种帐号，增强安全保障。
        </div>
        <div class="row" id = "row-item">
		<if condition="$user.is_bind_email eq 0">	
		<div class="maincol bind" id="change_email">
            <div class="moneybtn" id="bindmail">
              <div class="mt2 ml55">
                <img src="__HOME_IMAGES__/newdsn/images/emailicon.jpg" width="23" height="17" alt="" />
              </div>
              <div>绑定邮箱</div>
              <div class="iconmoney"></div>
            </div>
          </div>
		<else/>	
          <div class="maincol bind" id="change_email">
            <div class="moneybtn" id="editmail">
              <div class="mt2 ml55">
                <img src="__HOME_IMAGES__/newdsn/images/emailicon.jpg" width="23" height="17" alt="" />
              </div>
              <div>修改邮箱</div>
              <div class="iconmoney"></div>
            </div>
          </div>
		</if>
		
		<if condition="$user.is_bind_mobile eq 0">
          <div class="maincol bind" id="bind_phone">
            <div class="moneybtn" id="bindmobile">
              <div class="mt2 ml55">
                <img src="__HOME_IMAGES__/newdsn/images/simcardicon.jpg" width="23" height="17" alt="" />
              </div>
              <div>绑定手机</div>
              <div class="iconmoney"></div>
            </div>
          </div>
       <else/>
       	  <div class="maincol bind" id="change_phone">
            <div class="moneybtn" id="editmobile">
              <div class="mt2 ml55">
                <img src="__HOME_IMAGES__/newdsn/images/simcardicon.jpg" width="23" height="17" alt="" />
              </div>
              <div>修改手机</div>
              <div class="iconmoney"></div>
            </div>
          </div>
       </if>
          
        <if condition="$user.wechat eq ''">  
          <div class="maincol bind" id="bind_weixin">
            <div class="moneybtn" id="bindwechat">
              <div class="mt2 ml55">
                <img src="__HOME_IMAGES__/newdsn/images/wechat.png" width="23" height="17" alt="" />
              </div>
              <div>绑定微信号</div>
              <div class="iconmoney"></div>
            </div>
          </div>  
       <else/> 
          <div class="maincol bind" id="change_weixin">
            <div class="moneybtn" id="editwechat">
              <div class="mt2 ml55">
                <img src="__HOME_IMAGES__/newdsn/images/wechat.png" width="23" height="17" alt="" />
              </div>
              <div>修改微信号</div>
              <div class="iconmoney"></div>
            </div>
          </div> 
       </if>       
          
        </div>
        <div id = "row-info">温馨提示：没有绑定手机或邮箱的会员请及时完善资料，否则会影响修改银行卡和姓名或其他资料。</div>
      </div>
    </div>
  </div>

  <div id="popup-verifyemail" style="display: none">
    <div class="popupinternal">
      <div class="steps">
        <div class="row clearfix mt30 ml33">
          <div class="stepitm step1 stepactive" style="z-index: 3;">
            <div class="stepnotxt">输入邮箱地址</div>
            <div class="hlfcircle hlfcircleactive"></div>
          </div>
          <div class="stepitm step2" style="z-index: 2;">
            <div class="stepnotxt">填写验证码</div>
            <div class="hlfcircle"></div>
          </div>
          <div class="stepitm step3" style="z-index: 1;">
            <div class="stepnotxt">完成</div>
          </div>
        </div>
        <table class="table">
          <tbody>
            <tr id="mailPage">
              <td style="width: 17%;">邮箱地址：</td>
              <td><input type="text" class="form-control textbox2" id="txtEmail"></td>
              <td>邮箱可用于找回密码</td>
            </tr>
            <tr style="display: none" id="mailCodePage">
              <td style="width: 17%;">验证码：</td>
              <td><input type="text" class="form-control" id="txtEmailCode"></td>
              <td><input type="button" class="get_mail btnsubmit" value="点击获取" style="width: 160px;" id="get_mail"></td>
            </tr>
            <tr>
              <td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰邮件。</td>
            </tr>

            <tr>
              <td colspan="3" class="merged-cell"><button id="btnCheckMail" class="btnsubmit"
                onclick="checkUserMail();">下一步</button> <button id="btnCheckMailCode" class="btnsubmit"
                style="display: none" onclick="bindMail();">下一步</button></td>
            </tr>

          </tbody>
        </table>
      </div>
    </div>
  </div>

  <div id="popup-verifyeditemail" style="display: none">
    <div class="popupinternal">
      <div class="steps">
        <div class="row clearfix mt30 ml33">
          <div class="stepitm step1 stepactive" style="z-index: 3;">
            <div class="stepnotxt">输入邮箱地址</div>
            <div class="hlfcircle"></div>
          </div>
          <div class="stepitm step2 " style="z-index: 2;">
            <div class="stepnotxt">填写验证码</div>
            <div class="hlfcircle hlfcircle active"></div>
          </div>
          <div class="stepitm step3" style="z-index: 1;">
            <div class="stepnotxt">完成</div>
          </div>
        </div>
        <table class="table">
          <tbody>
	          <tr id="mailPage2">
	              <td style="width: 17%;">邮箱地址：</td>
	              <td><input type="text" class="form-control textbox2" id="txtEmail2"></td>
	              <td>邮箱可用于找回密码</td>
	            </tr>
	            <tr style="display: none" id="mailCodePage2">
	              <td style="width: 17%;">验证码：</td>
	              <td><input type="text" class="form-control" id="txtEmailCode2"></td>
	              <td><input type="button" class="get_mail btnsubmit" value="点击获取" style="width: 160px;" id="get_mail"></td>
	            </tr>
	            <tr>
	              <td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰邮件。</td>
	            </tr>
	
	            <tr>
	              <td colspan="3" class="merged-cell"><button id="btnCheckMail2" class="btnsubmit"
	                onclick="checkEditMail();">下一步</button> <button id="btnCheckMailCode2" class="btnsubmit"
	                style="display: none" onclick="editEmail();">下一步</button></td>
	            </tr>
          
          </tbody>
        </table>
      </div>
    </div>
  </div>

  <div id="popup-verifymobile" style="display: none">
    <div class="popupinternal">
      <div class="steps">
        <div class="row clearfix mt30 ml33">
          <div class="stepitm step1 stepactive" style="z-index: 3;">
            <div class="stepnotxt">输入手机号码</div>
            <div class="hlfcircle hlfcircleactive"></div>
          </div>
          <div class="stepitm step2" style="z-index: 2;">
            <div class="stepnotxt">填写验证码</div>
            <div class="hlfcircle"></div>
          </div>
          <div class="stepitm step3" style="z-index: 1;">
            <div class="stepnotxt">完成</div>
          </div>
        </div>
        <table class="table">
          <tbody>
            <tr id="mobilePage">
              <td style="width: 17%;">手机号码：</td>
              <td><input type="text" class="form-control textbox2" id="txtMobile"></td>
              <td></td>
            </tr>
            <tr style="display: none" id="mobileCodePage">
              <td style="width: 17%;">验证码：</td>
              <td><input type="text" class="form-control" id="txtMobileCode"></td>
              <td><input type="button" class="get_mobile btnsubmit" value="点击获取" style="width: 160px;" id="get_mobile"></td>
            </tr>
            <tr>
              <td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰短信。</td>
            </tr>

            <tr>
              <td colspan="3" class="merged-cell">
              <button id="btnCheckMobile" class="btnsubmit" onclick="checkUserMobile();">下一步</button> 
              <button id="btnCheckMobileCode" class="btnsubmit" style="display: none" onclick="bindMobile();">下一步</button>
              </td>
            </tr>

          </tbody>
        </table>
      </div>
    </div>
  </div>

  <div id="popup-verifyeditmobile" style="display: none">
    <div class="popupinternal">
      <div class="steps">
        <div class="row clearfix mt30 ml33">
          <div class="stepitm step1 stepactive" style="z-index: 3;">
            <div class="stepnotxt">输入手机号码</div>
            <div class="hlfcircle"></div>
          </div>
          <div class="stepitm step2" style="z-index: 2;">
            <div class="stepnotxt">填写验证码</div>
            <div class="hlfcircle hlfcircleactive"></div>
          </div>
          <div class="stepitm step3" style="z-index: 1;">
            <div class="stepnotxt">完成</div>
          </div>
        </div>
        <table class="table">
          <tbody>
          	<tr id="mobilePage2">
              <td style="width: 17%;">手机号码：</td>
              <td><input type="text" class="form-control textbox2" id="txtMobile2"></td>
              <td></td>
            </tr>
            <tr style="display: none" id="mobileCodePage2">
              <td style="width: 17%;">验证码：</td>
              <td><input type="text" class="form-control" id="txtMobileCode2"></td>
              <td><input type="button" class="get_mobile btnsubmit" value="点击获取" style="width: 160px;" id="get_mobile"></td>
            </tr>
            <tr>
              <td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰短信。</td>
            </tr>

            <tr>
              <td colspan="3" class="merged-cell">
              <button id="btnCheckMobile2" class="btnsubmit" onclick="checkEditMobile();">下一步</button> 
              <button id="btnCheckMobileCode2" class="btnsubmit" style="display: none" onclick="editMobile();">下一步</button>
              </td>
            </tr>

          </tbody>
        </table>
      </div>
    </div>
  </div>
  
  <div id="popup-verifywechat" style="display: none">
    <div class="popupinternal">
      <div class="steps">
        <div class="row clearfix mt30 ml33">
          <div class="stepitm" style="z-index: 1;">
            <div class="stepnotxt">输入微信号</div>
            <div class="hlfcircleactive"></div>
          </div>
        </div>
        <table class="table">
          <tbody>
            <tr>
              <td style="width: 17%;">微信号：</td>
              <td><input type="text" class="form-control textbox2" id="txtWechat"></td>
              <td></td>
            </tr>
            <tr>
              <td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰短信。</td>
            </tr>
			
			<tr>
              <td colspan="3" class="merged-cell"><button id="btnCheckWechat" class="btnsubmit" onclick="checkUserWechat();">确定</button> </td>
            </tr>
            
          </tbody>
        </table>
      </div>
    </div>
  </div>
  
  <div id="popup-verifyeditwechat" style="display: none">
    <div class="popupinternal">
      <div class="steps">
        <div class="row clearfix mt30 ml33">
          <div class="stepitm" style="z-index: 1;">
            <div class="stepnotxt">修改微信号</div>
          </div>
        </div>
        <table class="table">
          <tbody>
            <tr>
              <td style="width: 17%;">绑定微信：</td>
              <td> {$user.wechat|substr=0,3}**</td>
              <td></td>
            	
            <tr/>
            <tr>
              <td style="width: 17%;">微 信 号：</td>
              <td><input type="text" class="form-control textbox2" id="txtWechat2"></td>
              <td></td>
            </tr>

            <tr>
              <td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰短信。</td>
            </tr>

            <tr>
              <td colspan="3" class="merged-cell"><button id="btnEditWechat" class="btnsubmit" onclick="checkEditWechat();">确定修改</button> </td>
            </tr>

          </tbody>
        </table>
      </div>
    </div>
  </div>
  <script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/bindmail.js"></script>
  <script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/bindmobile.js"></script>
  <script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/bindwechat.js"></script>

</body>
</html>
